know someone from A to Z

对…一清二楚,了如指掌[亦作 know something (或 someone) as beggar knows his bay]